.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: #f1f5f8;
  -webkit-overflow-scrolling: touch;

  .chat-inner {
    position: absolute;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 56px;
    bottom: 80px;
  }

  .title {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;

    .center {
      -webkit-box-flex: 1;
      -webkit-flex: 1;
      -ms-flex: 1;
      flex: 1;
      padding-left: 8px;
      padding-right: 8px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      font-size: 20px;
      font-weight: 400;
      line-height: 56px;
      text-align: center;
    }
  }

  .notice-hidden {
    transform: translate(0, -100%);
  }

  .notice {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 94%;
    z-index: 1;
    margin: 0 auto;
    background: #fff;
    transition: transform 0.5s;
    border-right: 1px #eee solid;
    border-left: 1px #eee solid;
    border-bottom: 1px #eee solid;
    .notice-li {
      padding: 2px 5px;
      a {
        color: #6d6d6d;
      }
    }
    .notice-tool-bar {
      position: absolute;
      width: 100px;
      height 30px;
      bottom: -30px;
      left: 50%;
      transform: translate(-50%, 0);
      background: #fff;
      line-height: 30px;
      text-align: center;
      border-right: 1px #eee solid;
      border-left: 1px #eee solid;
      border-bottom: 1px #eee solid;
      z-index: 1;
    }
  }
  .chat-container {
    overflow: hidden;

    .chat-top {
      text-align: center;
      margin: 5px 0 5px;
      color: #D1CFD2;
    }

    .chat-no-people {
      width: 100%;
      height: 300px;
      line-height: 300px;
      text-align: center;
      color: #D1CFD2;
    }
  }

  .bottom {
    position: fixed;
    width: 100%;
    height: 80px;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-top: 1px solid #ddd;
    background: #f7f6fb;

    .chat {
      width: 100%;
      display: flex;

      .input {
        flex: 1;
        padding: 0 4px 4px 4px;

        input {
          width: 100%;
          height: 42px;
          box-sizing: border-box;
          border: 1px solid #e8e7ea;
          border-radius: 3px;
          color: #333333;
          font-size: 19px;
          padding-left: 5px;
        }

        .mu-text-field {
          width: 100%;
        }
      }

      .demo-raised-button {
        margin-right: 8px;
      }
    }

    .functions {
      width: 100%;

      .fun-li {
        width: 40px;
        height: 30px;
        line-height: 30px;
        display: inline-block;
        position: relative;
        color: #828187;
        text-align: center;

        .iconfont {
          font-size: 20px;
        }
      }

      .emoji-content {
        position: absolute;
        bottom: 30px;
        left: -42px;
        width: 375px;
        height: 210px;
        border-top: 1px solid #f3f3f3;
        overflow: hidden;
        background-color: #fff;

        .emoji-container {
          width: 10000px;
        }

        .emoji-tabs {
          overflow: auto;

          .emoji-block {
            width: 1170px;
            height: 200px;
            float: left;

            span {
              display: inline-block;
              cursor: pointer;
              font-size: 26px;
              min-width: 48px;
              line-height: 39px;
              text-align: center;
              list-style: none;
            }
          }
        }
      }
    }
  }
}

.all-chat {
  .online {
    display: inline-block;
    margin: 5px;

    img {
      width: 40px;
      height: 40px;
      border-radius: 100%;
    }
  }
}


@keyframes lds-rolling {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes lds-rolling {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.chat-loading {
  .lds-rolling {
    height:40px;
    overflow: hidden;
  }
  .lds-rolling div,
  .lds-rolling div:after {
    width: 20px;
    height: 20px;
    border: 2px solid #2196f3;
    border-top-color: transparent;
    border-radius: 50%;
    margin: 20px auto 0;
  }
  .lds-rolling div {
    -webkit-animation: lds-rolling 1s linear infinite;
    animation: lds-rolling 1s linear infinite;
  }
  .lds-rolling div:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
